/**
 * modules给各个模块建了文件夹，大家需要的话去对应文件夹里建立然后来导入就可以
 * 复用性比较大的数据最好放上来吧
 * 一些公共的 比如用户信息这些就直接放在外面就行，不用再建文件夹
 */

 import Vue from 'vue'
 import Vuex from 'vuex'
 import usersetting from './modules/usersetting'
 import menu from './modules/menu'
 import worktab from './modules/worktab'
 import consumption from './modules/leadershippositions/consumption'
 import customerInfo from './modules/ordermanagement/customerInfo'
 import process from './modules/processingplantmanagement/index'
 import productionInfo from './modules/productionmanagement/index'
 import product from './modules/productionmanagement/product'
 import companyProfile from './modules/rightsmanagement/companyProfile'
 import roleInfo from './modules/rightsmanagement/index'
 import supplierWarnData from "./modules/productionmanagement/supplierWarning" // 养殖预警数据
 import Consumpt from './modules/leadershippositions/consumption'
 import deviceCenter from "./modules/leadershippositions/deviceCenter" // 领导层--设备监控中心
import user_info from './modules/cgx/login'
 import materialInfo from './modules/processingplantmanagement/materialInfo'
 Vue.use(Vuex)
 
 export default new Vuex.Store({
   namespaced: true,
   modules: {
     deviceCenter,
     supplierWarnData,
     menu,
     usersetting,
     worktab,
     consumption,
     customerInfo,
     process,
     productionInfo,
     product,
     companyProfile,
     Consumpt,
     roleInfo,
     user_info,
     materialInfo
   }
 })
 